#include "MaterialPass.h"
#include "Material.h"

namespace egg{

    MaterialPass::MaterialPass(GPUProgramPtr _pro):
    GPUParamMap(_pro){
        mFlags=0;
    }

    void MaterialPass::addTo(MaterialPtr _owner){
        mOwner=_owner;
        mOwner->_addPass(this);
    }

    void MaterialPass::_draw(RenderContext& _context,Drawable3D& _drawable){

    }

}